package com.byapp.fast.modules.match.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.byapp.fast.modules.match.dto.MatchBetDTO;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@TableName("t_match_ref")
@Data
@Accessors(chain = true)
public class MatchRefEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String matchId;

    private String homeTeamId;

    private String homeTeamName;

    private String awayTeamId;

    private String awayTeamName;

    private String homeTeamLogo;

    private String awayTeamLogo;

    private Date matchTime;

    private String leagueName;

    private String leagueId;

    private String colorStyle;

    private Integer betStatus;

    @TableField(exist = false)
    private List<MatchBetDTO> matchBetDTOList;

}
